@import "~taro-ui/dist/style/components/list.scss";
@import "~taro-ui/dist/style/components/icon.scss";
// @import "~taro-ui/dist/style/components/button.scss";
@import "~taro-ui/dist/style/components/float-layout.scss";
// @import "~taro-ui/dist/style/components/divider.scss";
// @import "~taro-ui/dist/style/components/modal.scss";
@import "~taro-ui/dist/style/components/tag.scss";
@import '../../styles/theme.scss';

.detail__page {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  // background: #f4f4f4;
  //min-height: 100vh;
  .like_page_row {
    display: flex;
    flex-wrap: wrap;
    // margin: 0 -12px 0;
    // padding: 0 0;
    box-sizing: border-box;
    margin: 0 -8px;

    .like_page_col {
      width: 33.33%;
      padding: 0 8px;
      //  margin: 0 -8px 16px;
      margin-bottom: 16px;
      box-sizing: border-box;
      //  margin-bottom: 16px;
      .like_page_item {
        position: relative;
        display: block;
        border: 1px solid #fafafa;
        border-radius: 16px;
        width: 100%;

        .like_page_item_item {
          position: absolute;
          width: 100%;
          height: 100%;
          z-index: 1;
        }
      }

      .like_page_item::after {
        content: "";
        display: block;
        padding-top: 100%;
      }

      .like_page_image {
        width: 100%;
        height: 100%;
        border-radius: 16px;
      }

      .like_page_count {
        position: absolute;
        left: 24px;
        bottom: 24px;
        color: white;
        font-weight: 500;
        font-size: 28px;
        z-index: 2;
      }
    }
  }

  .detail_page-wrapper {
    width: 100%;
    padding: 36px;
    box-sizing: border-box;
  }

  .detail_page-content {
    width: 100%;
    box-sizing: border-box;
    box-shadow: 10px 5px 40px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    overflow: hidden;
    padding-bottom: 32px;
    padding-top: 32px;
  }

  .detail_page-h5-content {
    // padding-top: 0!important;
  }

  .detail__page-header {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    padding: 0 32px 0;

    .detail__page-banner {
      width: 200px;
      align-self: flex-start;
      margin-right: 24px;

      .recommend_box_vedio_item {
        display: inline-block;
        box-sizing: border-box;
        position: relative;
        width: 100%;
        height: 260px;
        transition: all .2s;
        border-radius: 18px;

        .recommend_box_vedio_item-img {
          width: 200px;
          height: 260px;
          border-radius: 18px;
          overflow: hidden;
        }

        .recommend_box_vedio_item-button {
          background: rgba(0, 0, 0, .3);
          color: #fff;
          font-size: 28px;
          position: absolute;
          right: 24px;
          top: 24px;
          height: 44px;
          line-height: 44px;
          border-radius: 14px;
          padding: 0 12px;
        }
      }

      .detail_video {
        width: 200px;
        height: 100%;
        position: relative;

        .detail_play {
          position: absolute;
          color: #fff;
          font-size: 36px;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
      }

      .detail__page-banner-img {
        width: 200px;
        height: 260px;
        border-radius: 18px;
        overflow: hidden;
      }

      .detail__page-banner-cover-video {
        width: 100%;
        height: 260px;
        z-index: 2;
      }

      .detail__page-banner-video {
        width: 100%;
        height: 260px;
        z-index: 1;
      }
    }

    .detail__page-header-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .detail__page-title {
        width: 100%;
        box-sizing: border-box;
        line-height: 42px;
        color: $dark;
        font-weight: 700;
        font-size: 30px;
        padding: 12px 24px 8px;
        display: block;
      }

      .detail__page-time {
        font-size: 26px;
        color: $text-color-light;
        padding-left: 24px;
        display: block;
      }

      .detail__page-label {
        color: $dark;
      }

      .detail__page-read {
        margin-top: 8px;
        font-size: 24px;
        color: $text-color-lighter;
        padding-left: 24px;
        display: block;
      }

      .detail__page-tags {
        padding: 12px 24px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        .detail__page-tags-item {
          margin-right: 12px;
          background-color: $primary-color;
          border-color: $primary-color;
          height: 40px;
          line-height: 40px;
          font-size: 22px;
          padding: 0 18px;
        }
      }
    }
  }

  .detail__page-list {
    margin-bottom: 24px;
  }

  .detail__page-detail {
    box-sizing: border-box;
  }

  .detail__page-summary {
    box-sizing: border-box;
    padding: 0 32px;

    .detail-summary-text {
      font-size: 24px;
      line-height: 34px;
      color: $text-color-light;
      padding: 0 24px;
    }
  }
}

.float-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.detail-params-list {
  .detail-params-list-item {
    display: flex;
    align-items: center;
    border-bottom: 1PX solid #d6e4ef;
    font-size: 36px;
    line-height: 120px;
    height: 120px;

    .detail-params-list-item-left {
      width: 180px;
      padding-right: 32px;
      text-align: right;
    }

    .detail-params-list-item-right {
      flex: 1;
      color: #36393c;
      font-size: 32px;
    }
  }
}

.detail__page-detail-header {
  display: block;
  color: $primary-color;
  font-weight: 700;
  font-size: 34px;
  padding: 24px 0;
}

.detail__page-detail-header-px {
  padding-left: 32px;
  padding-right: 32px;
}

// page {
// height: 100%;
.float-layout-wrapper1 {
  // background-color: #f4f4f4;
  .at-float-layout__container {
    height: 560px;
    min-height: 0;
  }

  .at-float-layout .layout-body {
    height: 440px;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .at-button--primary {
    background-color: #202020;
    border: 1Px solid #202020;
  }
}

.float-layout-wrapper3 {
  .at-float-layout__container {
    height: auto;
    min-height: 0;
  }

  .at-float-layout .layout-body {
    height: auto;
    min-height: 0;
    // display: flex;
    // flex-direction: column;
  }

  .layout-body__content {
    height: auto;
    min-height: 0;
  }

  // background-color: #f4f4f4;
  // .at-float-layout__container {
  //   height: 800px;
  //   min-height: 0;
  // }
  // .at-float-layout .layout-body{
  //   height: 580px;
  //   min-height: 0;
  //   display: flex;
  //   flex-direction: column;
  // }
  // .at-button--primary{
  //   background-color: #202020;
  //   border: 1Px solid #202020;
  // }
}

.float-layout-wrapper2 {
  .at-float-layout__container {
    height: auto;
    min-height: 0;
  }

  // background-color: #f4f4f4;
  // .at-float-layout__container {
  //   height: 560px;
  //   min-height: 0;
  // }
  .at-float-layout .layout-body {
    height: auto;
    min-height: 0;
    // display: flex;
    // flex-direction: column;
  }

  .at-float-layout .layout-body__content {
    min-height: 0;
  }

  // .at-button--primary{
  //   background-color: #202020;
  //   border: 1Px solid #202020;
  // }
}

.at-divider__content {
  // background: #f4f4f4;
  background: $bg;
  color: #FFC001;
}

.detail__page-detail-imgs {
  height: 240px;
  box-sizing: border-box;
  white-space: nowrap;

  .detail__page-detail-img {
    width: 240px;
    height: 100%;
    display: inline-block;
    margin-right: 24px;
    border-radius: 10px;
  }
}

// }

// .like_page_row{
//   display: flex;
//   flex-wrap: wrap;
//   margin: 12px -24px 0;
//   padding: 0 24px;
//   box-sizing: border-box;
//   // width: 100%;
//   width: calc(100% - 100px);
//   .like_page_col{
//    width: 25%;
//    padding: 0 16px;
//    box-sizing: border-box;
//    margin-bottom: 16px;
//    .like_page_item{
//     position: relative;
//     display: block;
//     border: 1px solid #fafafa;
//     border-radius: 16px;
//     width: 100%;
//     .like_page_item_item{
//       position: absolute;
//       width: 100%;
//       height: 100%;
//       z-index: 1;
//     }
//    }
//   .like_page_item::after {
//     content: "";
//     display: block;
//     padding-top: 100%;
//   }
//    .like_page_image{
//      width: 100%;
//      height: 100%;
//      border-radius: 16px;
//    }
//    .like_page_count{
//      position: absolute;
//      left: 24px;
//      bottom: 24px;
//      color: white;
//      font-weight: 500;
//      font-size: 28px;
//      z-index: 2;
//    }
// }
.detail_modal_body {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 -12px;

  .detail_modal_item {
    width: 33%;
    padding: 0 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;

    .icon {
      font-size: 80px;
      display: block;
    }

    .detail_modal_image {
      width: 160px;
      height: 160px;
      display: block;
    }

    .detail_modal_desc {
      height: 70px;
      margin-top: 24px;
      color: #000000;
      font-size: 28px;
      line-height: 35px;
      font-weight: bold;
      text-align: center;
    }
  }
}

.detail_modal {
  .at-modal {

  }

  .at-modal__content {
    background: $bg;
    border-radius: 18px;
  }

  .at-modal__container {
    background: transparent;
    // width: 100vw;
    // height: 100vh;
    // background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 660px;
  }

}

// }
// .custom-shuiyin{
//   display: flex;
//   padding: 24px;
//   color: #3333;
//   line-height: 30px;
//   align-items: center;
//   background-color: #fff;
//   height: 160px;
//   .custom-shuiyin-icon{
//     line-height: 30px;
//     color: #333333;
//   }
// }
